package com.bole.service;

import com.bole.pojo.TbRoleDo;

import java.util.List;

public interface RoleService {
    List<TbRoleDo> getInfo();

    void add(TbRoleDo roleDo, Long[] nodeIds);

    TbRoleDo getRoleById(Long id);

    void updateById(TbRoleDo admin, Long[] nodeIds);

    void deleteById(Long id);

    Long findRoleByAdminId(Long id);
}
